﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KCMS.DataAcsess.Entitys
{
    public partial class NewsEntity:Entity
    {
        //public String Title { get; set; }
        //public String Text { get; set; }
        //public String Description { get; set; }
        //public String MetaDescription { get; set; }
        //public String MetaKeys { get; set; }
        //public DateTime Date { get; set; }
        //public bool Published { get; set; }
        public void CopyPropyties(NewsEntity source)
        {
            this.Id = source.Id;
            this.Text = source.Text;
            this.Title = source.Title;
            this.Published = source.Published;
            this.MetaDescription = source.MetaDescription;
            this.MetaKeys = source.MetaKeys;
            this.Date = source.Date;
            this.Code=source.Code;
        }
    }
}
